<!--
描述：楼房信息-查看组件
开发人：fwb
开发日期：2017年12月11日
-->
<template lang="pug">
    kalix-dialog.user-add(bizKey="examStudent" ref="kalixBizDialog" v-bind:formModel.sync="formModel" isView)
        div.el-form(slot="dialogFormSlot")
            el-form-item(label="考号" prop="examNumber" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.examNumber" readonly)
            el-form-item(label="考生姓名" prop="examName" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.examName" readonly)
            el-form-item(label="身份证" prop="identificationCard" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.identificationCard" readonly)
            el-form-item(label="专业" prop="major" v-bind:label-width="labelWidth")
                kalix-dict-select(v-model="formModel.major"  appName="enrolment" dictType="考生专业" v-bind:disabled="disabled")
            el-form-item(label="毕业院校" prop="university" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.university" readonly)
            el-form-item(label="联系地址" prop="address" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.address" readonly)
            el-form-item(label="联系电话" prop="phone" v-bind:label-width="labelWidth")
                kalix-dict-select(v-model="formModel.phone"  appName="enrolment" dictType="考生专业" v-bind:disabled="disabled")
            el-form-item(label="省份" prop="province" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.province" readonly)
            el-form-item(label="条形码" prop="barCode" v-bind:label-width="labelWidth")
                el-input(v-model="formModel.barCode" readonly)
</template>

<script type="text/ecmascript-6">
    import FormModel from './examStudentModel.js'

    export default {
        name: 'ExamStudentView',
        data() {
            return {
                formModel: Object.assign({}, FormModel),
                labelWidth: '140px'
            }
        },
        methods: {}
    }
</script>
